package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;


/**
 * 告警模板历史表-实体
 * @author zfsn
 * @date 2023-4-4
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "告警模板历史表", description = "")
@TableName("conf_alarm_template_his")
public class ConfAlarmTemplateHis extends Model<ConfAlarmTemplateHis> {

	/**
	 * 主键，唯一标识数据
	 */
	@ApiModelProperty(value = "主键", notes = "主键，唯一标识数据")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 模板id
	 */
	@ApiModelProperty(value = "模板id", notes = "模板id")
	private Integer templateId;

	/**
	 * 模板内容
	 */
	@ApiModelProperty(value = "模板内容", notes = "模板内容")
	private String content;

	/**
	 * 模板说明
	 */
	@ApiModelProperty(value = "模板说明", notes = "模板说明")
	private String description;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", notes = "创建时间")
	private LocalDateTime createTime;

}